package com.haisen.service;


import com.haisen.dataobject.entity.TokenDing;

public interface DingTokenServcie {


    void create(TokenDing tokenDing);
    TokenDing update(TokenDing tokenDing);
    void delete(String key);
    TokenDing load(String key);
    String requestToken();

    /**
     * token更新处理，在调度中执行
     * @return
     */
    TokenDing tokenHandler();

    TokenDing forceUpdateToken(TokenDing tokenDing);

}
